package com.xinqi.modules.third.sms.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author：yyzhen
 * @Package：com.xingqiclass.resource.api.dto.req
 * @Project：XingqiClass-Cloud-Plus
 * @name：SendSmsCode
 * @Date：2023/8/29 17:19
 * @Filename：SendSmsCode
 */
@Data
public class SendSmsCode {

    @NotEmpty(message = "{user.phonenumber.not.blank}")
    @Schema(description = "手机号码")
    private String phonenumber;

    @NotEmpty(message = "{sms.template.not.blank}")
    @Schema(description = "短信模板")
    private String event;

    @NotEmpty(message = "{captcha.code.not.blank}")
    @Schema(description = "图形验证码")
    private String captchaVerification;


}
